package org.jeecg.modules.limei.service.impl;

import org.jeecg.modules.limei.entity.Advert;
import org.jeecg.modules.limei.mapper.AdvertMapper;
import org.jeecg.modules.limei.service.IAdvertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 广告管理
 * @Author: jeecg-boot
 * @Date:   2019-12-13
 * @Version: V1.0
 */
@Service
public class AdvertServiceImpl extends ServiceImpl<AdvertMapper, Advert> implements IAdvertService {
    @Autowired
    private AdvertMapper advertMapper;
    @Override
    public int getMaxSort() {
        return advertMapper.getMaxSort();
    }
}
